package com.litq.education.controller;


import com.litq.education.service.WxInitService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

/**
 * WxInitController
 *
 * @author Litq
 * @version v1.0
 * @since 2019/2/10 1:30
 */
@RestController
public class WxInitController {

    Logger logger = LoggerFactory.getLogger(WxInitController.class);
    @Resource
    private WxInitService wxInitService ;

    /**
     * @Method 测试二维码跳转以后 是否能传入参数
     * @Author Litq
     * @Version 1.0
     * @Description 测试二维码跳转以后 是否能传入参数
     * @since 2019/8/15
     */
    @ResponseBody
    @RequestMapping(value = "/initWx", method = {RequestMethod.POST, RequestMethod.GET})
    public String initWx(@RequestParam("groupId") String groupId) {

        logger.info("-----------------------------------打印参数"+groupId);
        return "1111";
    }
}
